package config

import (
	"github.com/zeromicro/go-zero/core/logx"
	"github.com/zeromicro/go-zero/zrpc"
	"github.com/zeromicro/zero-contrib/zrpc/registry/consul"
)

type Config struct {
	Log logx.LogConf
	zrpc.RpcServerConf
	Consul consul.Conf
	Mysql  struct {
		Datasource string
		Host       string
	}
	Redis struct {
		Host string
		Pass string
	}
	MyMail struct {
		MailNum     string
		MailCode    string
		MailAddress string
	}
	Rocketmq struct {
		Host   string
		TopicA string
	}
}
